package com.th.system.domain;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author ValcanoZz
 * @creat 2023-06-22-21:42
 */

@Data
@ApiModel("任务表")
@TableName("us_task")
public class UsTask {

    @ApiModelProperty("用户id")
    @TableId(type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("订单id")
    private Long orderId;

    @ApiModelProperty("任务状态")
    private Integer status;

    @ApiModelProperty("任务标题")
    private String title;

    @ApiModelProperty("设计师/工作室id")
    private Long designerId;

    @TableField(fill = FieldFill.INSERT)
    @ApiModelProperty("任务创建时间")
    private LocalDateTime createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    @ApiModelProperty("任务更新时间")
    private LocalDateTime updateTime;

}